﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WareDealer.Mode;

namespace WareDealer
{
    /// <summary>
    /// 工作项接口类
    /// </summary>
    public interface IWorkItem
    {
        /// <summary>
        /// 工作项编号
        /// </summary>
        int ID { get; set; }
        /// <summary>
        /// 工作项名称
        /// </summary>
        string Name { get; set; }
        /// <summary>
        /// 工作项优先级
        /// </summary>
        int Priority { get; set; }
        /// <summary>
        /// 工作项状态
        /// </summary>
         EnumTaskStatu Statu { get; }
        /// <summary>
         /// 工作项内容
        /// </summary>
        List<string> WorkItems { get; set; }
        /// <summary>
        /// 工作项结果集
        /// </summary>
        Object ResultItems { get; }
        /// <summary>
        /// 工作项轮询时长
        /// </summary>
        int Time { get; set; }
        /// <summary>
        /// 工作项执行指令
        /// </summary>
        void ExecItem();
        
    }
}
